package com.project_doctor.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.project_doctor.pojo.Permission;
import com.project_doctor.pojo.dto.PermissionDTO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 权限Mapper接口
 * @Entity com.project_doctor.pojo.Permission
 */
@Mapper
public interface PermissionMapper extends BaseMapper<Permission> {

    List<PermissionDTO> selectPermissionsByGroup();
    
    List<PermissionDTO> selectAllPermissions();
}